version: "3.8"

services:
  beton:
    image: tishenkobackend/beton:1.0.0
    container_name: beton
    environment:
      BOT: ${BOT}
      ASS_URL: ${ASS_URL}
      KTOR_PORT: ${KTOR_PORT}
      REDIS_HOST: ${REDIS_HOST}
      REDIS_PORT: ${REDIS_PORT}
    env_file:
      - .env
    restart: always
    ports:
      - "25665:25665"
    volumes:
      - "/home/admin/beton/logs:/usr/local/bin/beton/logs"
    networks:
      - beton_network

networks:
  beton_network:
    name: beton_network
    external: true